package com.qf.give_a_like.mapper;

import com.qf.give_a_like.domain.Crad;

import java.util.List;

/**
* @author wkk
* @description 针对表【crad】的数据库操作Mapper
* @createDate 2022-05-16 16:22:51
* @Entity com.qf.give_a_like.domain.Crad
*/
public interface CradMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Crad record);

    int insertSelective(Crad record);

    Crad selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Crad record);

    int updateByPrimaryKey(Crad record);

    List<Crad> showAll();

    //根据id集合查询名片
    List<Crad> selectByIds(List<String> idList);


    //查自己的名片
    Crad selectOneself (Integer id);
}
